/*
 * Copyright 2010 Gal Dolber.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.unnison.framework.test.place;

import com.google.gwt.inject.client.AbstractGinModule;
import com.google.inject.Singleton;

public class PlacesModule extends AbstractGinModule {

    @Override
    protected void configure() {
        bind(EnumPlace.class).in(Singleton.class);
        bind(StringPlace.class).in(Singleton.class);
        bind(ComplexPlace.class).in(Singleton.class);
        bind(ArrayListPlace.class).in(Singleton.class);
        bind(ArrayListPrimitivePlace.class).in(Singleton.class);
        bind(InherencePlace.class).in(Singleton.class);
        bind(MultidimentionPrimitivePlace.class).in(Singleton.class);
        bind(MultidimentionGenericPlace.class).in(Singleton.class);
        bind(DoublePlace.class).in(Singleton.class);
        bind(IntegerPlace.class).in(Singleton.class);
        bind(DatePlace.class).in(Singleton.class);
        bind(LongPlace.class).in(Singleton.class);
        bind(FloatPlace.class).in(Singleton.class);
        bind(BooleanPlace.class).in(Singleton.class);
        bind(HashMapPlace.class).in(Singleton.class);
        bind(GenericPlace.class).in(Singleton.class);
    }
}
